package com.easy.cms.material.repository;

import com.easy.cms.material.model.Organization;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrganizationRepository extends JpaRepository<Organization, Long> {
    List<Organization> findByNameContainingAndOrgType(String name, Integer orgType);
}